
 <!DOCTYPE html>
<html>
<head>
  <title></title>
      <include file="./App/Admin/View/Public/header.html" />
      <include file="./App/Admin/View/Public/menu.html" />
      <include file="./App/Admin/View/Public/js.html" />
</head>

<body>
  <div class="templatemo-content col-1 light-gray-bg">
        <div class="templatemo-top-nav-container">
          <div class="row">
            <nav class="templatemo-top-nav col-lg-12 col-md-12">
              <ul class="text-uppercase">
                <li><a href="__URL__/index" class="active">首页</a></li>
                <li><a href="__URL__/index" class="active">大师审核列表</a></li>
              </ul>  
            </nav> 
          </div>
        </div>
<div class="templatemo-content-container">
          <div class="templatemo-content-widget no-padding">
            <div class="panel panel-default table-responsive">
              <table class="table table-striped table-bordered templatemo-user-table">

               <thead>
                  <tr>
                    <td><a href="" class="white-text templatemo-sort-by">大师编号<span class="caret"></span></a></td>
                    <td><a href="" class="white-text templatemo-sort-by">姓名<span class="caret"></span></a></td>
                    <td><a href="" class="white-text templatemo-sort-by">简介 <span class="caret"></span></a></td>
                    <td><a href="" class="white-text templatemo-sort-by">地址<span class="caret"></span></a></td>
                    <td><a href="" class="white-text templatemo-sort-by">图片<span class="caret"></span></a></td>
                    <td><a href="" class="white-text templatemo-sort-by">状态<span class="caret"></span></a></td>
                    <td><a href="" class="white-text templatemo-sort-by">俱乐部管理员名称<span class="caret"></span></a></td>
                    <td><a href="" class="white-text templatemo-sort-by">申请时间<span class="caret"></span></a></td>
                    <td>通过</td>
                    <td>不通过</td>
                  </tr>
                </thead>

                <tbody>
                  <volist name="index" id="vo"  >  
            <tr>
                    <td>{$i}</td>
                    <td>{$vo.m_name}</td>
                    <td>{$vo.m_intro}</td>
                    <td>{$vo.m_address}</td>
                    <td><img src="__PUBLIC__/upload/{$vo.m_pic1}" width="60"></td>
                    <td>
                   <switch name="masters/m_states">
                      <case value="0">待审核</case>
                      <case value="1">通过</case>
                      <case value="2">不通过</case>
                      <default />待审核
                  </switch>
                    </td>
                    <td>{$vo.ca_name}</td>
                    <td>{$vo.m_date}</td>
                    <td>
                        
                        <a class="btn btn-info" href="__URL__/checkMaster/m_id/{$vo.m_id}"> 通过</a>
                      </td>
                      <td>
                        <a class="btn btn-danger" href="__URL__/checkoutMaster/m_id/{$vo.m_id}"><i
                                    class="icon-move" ></i> 不通过</a>
                       </td>
                  </tr>
            
        </volist>
                                
                </tbody>
              </table>    
            </div>  
            <div class="jogger col-md-10   col-sm-offset-3 col-md-offset-4 col-xs-offset-2" >
            <p>{$link}</p>
           </div>                          
          </div>
</body>
</html>